package dao;

import domain.User;

import java.util.List;

public interface UserDao {
     User selectStudents(int id) ;

    User select(String username, String password);

    long selectCount(String where, List<Object> params);

    List<User> selectByPage(int pageNum, int pageSize, String where, List<Object> params);

    List<User> selectAll();

    void deletestu(int id);

    void insert(User user);

    void update(User user);
}
